package com.smart.common.utils;

import java.util.List;

public class ThreadLocalUtil {
    private static final ThreadLocal<List<String>> PERMISSION_RESULT = new ThreadLocal<>();

    public static void setPermissionResult(List<String> result) {
        PERMISSION_RESULT.set(result);
    }

    public static List<String> getPermissionResult() {
        return PERMISSION_RESULT.get();
    }

    public static void clear() {
        PERMISSION_RESULT.remove();
    }
}